package com.csun.cmny.provider.model.dto.staff;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class ModifyPwdDto {
    /**
     * 志愿者Id
     */
    @NotNull(message = "{volunteer.id.null}")
    private Long id;

    /**
     * 新密码
     */
    @NotNull(message = "{volunteer.password.null}")
    @NotEmpty(message = "{volunteer.password.null}")
    private String password;

    /**
     * 确认密码
     */
    @NotNull(message = "{volunteer.confirm.password.null}")
    @NotEmpty(message = "{volunteer.confirm.password.null}")
    private String confirmPwd;
}
